package com.middlegroup.pay.dto;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

/**
 * @author SHUQWEI
 * @Pagke Name   com.middlegroup.pay.dto
 * @Description
 * @create 2019-08-13 14:15
 **/
@Data
@XStreamAlias(value = "xml")
public class WechatPayRequest {

    @XStreamAlias("appid")
    private String appid;

    @XStreamAlias("mch_id")
    private String mch_id;

    @XStreamAlias("device_info")
    private String device_info;

    @XStreamAlias("nonce_str")
    private String nonce_str;

    @XStreamAlias("sign")
    private String sign;

    @XStreamAlias("sign_type")
    private String sign_type="MD5";

    @XStreamAlias("body")
    private String body;

    @XStreamAlias("detail")
    private String detail;

    @XStreamAlias("attach")
    private String attach;

    @XStreamAlias("out_trade_no")
    private String out_trade_no;

    @XStreamAlias("fee_type")
    private String fee_type;

    @XStreamAlias("total_fee")
    private String total_fee;

    @XStreamAlias("spbill_create_ip")
    private String spbill_create_ip;

    @XStreamAlias("time_start")
    private String time_start;

    @XStreamAlias("time_expire")
    private String time_expire;

    @XStreamAlias("goods_tag")
    private String goods_tag;

    @XStreamAlias("notify_url")
    private String notify_url;

    @XStreamAlias("trade_type")
    private String trade_type="MWEB";

    @XStreamAlias("product_id")
    private String product_id;

    @XStreamAlias("limit_pay")
    private String limit_pay="no_credit";

    @XStreamAlias("openid")
    private String openId;

    @XStreamAlias("receipt")
    private String receipt;

    @XStreamAlias("scene_info")
    private String scene_info;

    @XStreamAlias("transaction_id")
    private String transaction_id;

    @XStreamAlias("out_refund_no")
    private String out_refund_no;

    @XStreamAlias("refund_fee")
    private String refund_fee;

    @XStreamAlias("refund_fee_type")
    private String refund_fee_type;

}
